//多行显示省略号
@mixin no-wrap-line($line) {
  display: -webkit-box;
  -webkit-line-clamp: $line;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
}
//单行显示省略号
@mixin no-wrap {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
// 页面头部字体
.titleBar {
  margin-bottom: 20px;
  font-weight: 600;
}
//表格公共样式
.pubTable {
  border-top: 1px solid #e3e3e3;
  th {
    background: #f6f9fc;
  }
  th,
  td {
    padding: 0;
    height: 44px;
    .cell {
      padding-left: 16px;
    }
  }
}
/* 右弹窗只遮盖路由 */
.pubDrawer {
  .el-drawer {
    padding: 0 20px;
    .drawerPrimaryFont {
      margin: 20px 40%;
    }
    .el-drawer__header {
      padding: 20px 0 0 0;
    }
  }
}

#view {
  background: white;
}

.el-popover {
  min-width: 70px;
  text-align: center;
}

.el-button + .el-button {
  margin-left: 5px;
}

.el-dialog__header {
  // box-shadow: 0 2px 12px 0 #ccc .1;
  border-bottom: 1px solid #ccc;
}
.el-dialog__footer {
  border-top: 1px solid #ccc;
}
// tag 公共left
.el-tag + .el-tag {
  margin-left: 10px;
}
// .el-dialog__body {
//   height: 600px;
//   overflow-y: auto;
// }
::-webkit-scrollbar {
  width: 8px;
  height: 12px;
  background-color: #fff;
}

::-webkit-scrollbar-thumb {
  display: block;
  min-height: 12px;
  min-width: 8px;
  border-radius: 6px;
  background-color: rgb(217, 217, 217);
}

::-webkit-scrollbar-thumb:hover {
  display: block;
  min-height: 12px;
  min-width: 8px;
  border-radius: 6px;
  background-color: rgb(159, 159, 159);
}
.el-popconfirm__main {
  margin: 10px 0;
}

.el-tooltip__popper.is-dark {
  max-width: 420px !important;
}
// 表格错位问题
.el-table th {
  display: table-cell !important;
}
